package com.somekim.myrunnable;

/**
 * 实现Runnable接口
 * @author zdl
 * @version v1.0
 * @date 2019/8/27
 */
public class MyRunnable1 implements Runnable{

    @Override
    public void run() {
        System.out.println("运行中！");
    }

    public static void main(String[] args) {
        MyRunnable1 runnable1 = new MyRunnable1();
        Thread thread = new Thread(runnable1);
        thread.start();
        System.out.println("运行结束！");
    }
}
